package com.weixing.mall.provider.model.enums;

import com.weixing.mall.base.enums.IBaseEnum;
import lombok.NoArgsConstructor;

/**
 * @Author wx
 * @Date 2019/9/6 15:14
 * @Version 1.0
 */

@NoArgsConstructor
public enum IsPageSiteEunm implements IBaseEnum<Integer> {
    //0未开放，1已开放
    TYPE1(1,"头版"),
    TYPE2(2,"二版"),
    TYPE3(3,"三版"),
    TYPE4(4,"四版"),
    TYPE5(5,"五版"),
    TYPE6(6,"六版"),
    TYPE7(7,"七版"),
    TYPE8(8,"八版"),
    TYPE9(9,"九版"),
    TYPE10(10,"十版"),
    TYPE11(11,"十一版"),
    TYPE12(12,"十二版"),
    TYPE13(13,"十三版"),
    TYPE14(14,"十四版"),
    TYPE15(15,"十五版"),
    TYPE16(16,"十六版"),
    TYPE17(17,"十七版"),
    TYPE18(18,"十八版"),
    TYPE19(19,"十九版"),
    TYPE20(20,"二十版");
    private int value;
    private String desp;

    IsPageSiteEunm(int value, String desp) {
        this.value = value;
        this.desp = desp;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public String getDesp() {
        return desp;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }
}
